package AnnotationExamples;

import AnnotationExamples.annotationUtil.FunctionA;
import AnnotationExamples.annotationUtil.FunctionB;

public class Demo {

	@FunctionB(step = 1, description = "第一步")
	public static void main(String[] args) {
		sayHi();
	}

	@FunctionB(step = 2, description = "第二部")
	private static void sayHi() {
		sayHello();
	}

	@FunctionB(step = 3, description = "第三步")
	private static void sayHello() {
		sayHelloWorld();
	}

	@FunctionB(step = 4, description = "第四步")
	private static void sayHelloWorld() {
		System.out.println("真正实现");
	}
}
